﻿using System.Data.Entity.ModelConfiguration;

namespace BookShop.DTO.Mapping
{
    public class DiscountMap : EntityTypeConfiguration<Discount>
    {
        public DiscountMap()
        {
            HasKey(d => d.Id);
            ToTable("Discount");
        }
    }
}
